/*
 * Copyright @ 2024 weili23
 * com.itheima.mp.configuration 9:55
 * All right reserved.
 */

package com.itheima.mp.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @desc: minio配置参数
 * @author: weili23
 * @createTime: 2024/5/14 9:55
 * @version: v1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "common.minio")
public class MinioProperties {
    /**
     * 账号
     */
    private String userKey = "admin";

    /**
     * 密码
     */
    private String userPassword = "12345678";

    /**
     * 服务地址
     */
    private String endPoint = "http://localhost:9000";

    /**
     * 桶名称
     */
    private String bucketName = "testBucket";
}
